package net.xy.controller;

import net.xy.service.DemoService;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 * @author: NMY
 * @Date: 2021/8/10
 * @Time: 18:30
 */
@RestController
public class DemoController {

    @Resource
    private DemoService demoService;


    @GetMapping("/test")
    public void test() {
        demoService.test();
    }
}
